package com.ibigcat.module.mdm.controller.admin.coderulesequencenum.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import jakarta.validation.constraints.*;

@Schema(description = "管理后台 - 编码规则序号新增/修改 Request VO")
@Data
public class CodeRuleSequenceNumSaveReqVO {

    @Schema(description = "主键", requiredMode = Schema.RequiredMode.REQUIRED, example = "23950")
    private Long id;

    @Schema(description = "编码规则序号", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotEmpty(message = "编码规则序号不能为空")
    private String codeSequence;

    @Schema(description = "编码标识", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotEmpty(message = "编码标识不能为空")
    private String nodeCode;

    @Schema(description = "编码最大号", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotEmpty(message = "编码最大号不能为空")
    private String codeNum;

}